<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE HTML>
<html>
<head>
	<meta charset="UTF-8">
	<title>我的项目管理系统</title>
	<link rel="stylesheet" type="text/css" href="static/bootstrap/css/bootstrap.min.css" />
	<link rel="stylesheet" type="text/css" href="static/css/wall.css" />
	<style type="text/css">
	</style>
</head>
	<body class="container" style="padding:60px">
		<%@ include file="top.jsp" %>
		<div class="row">
			<div class="span9">
				<div class="page-header">
					<h2>项目列表</h2>
				</div>	
				<c:if test="${sessionScope.adminProjectList != null}">
					<a href="project.jspx?m=begin" class="btn btn-success">
						<i class="icon-plus icon-white"></i>开始一个新项目
					</a>
					<c:forEach items="${sessionScope.adminProjectList}" var="adminProject">	
				
						<ul class="breadcrumb" style="margin-bottom:0px;border-radius: 3px 3px 0 0;margin-top:15px">
							<li>
								<i class="icon-th"></i>
								<a href="news.jspx?id=${adminProject.id }" style="color:black">${adminProject.name}</a>
							</li>
						</ul>
						<div class="wall">
							<p>
								${adminProject.describe} 
							</p>
						</div>
					</c:forEach>
				</c:if>
				<c:if test="${sessionScope.memberProjectList !=null}">
					<c:forEach items="${sessionScope.memberProjectList}" var="memberProject">
					
						<ul class="breadcrumb" style="margin-bottom:0px ;border-radius: 3px 3px 0 0;margin-top:15px">
							<li>
								<i class="icon-th"></i>
								<a href="news.jspx?id=${memberProject.id}" style="color:black">${memberProject.name}</a>
							</li>
						</ul>
						<div class="wall">
							<p>
								${memberProject.describe} 
							</p>
						</div>
					</c:forEach>
				</c:if>
			</div>
		</div>
	</body>
</html>